This has been discussed in bug 541009.
*/
#include "config.h"
+#undef GTK_DISABLE_DEPRECATED
#include "gtkhbbox.h"
#include "gtkorientable.h"
#include "gtkintl.h"
* The spacing between buttons can be set with gtk_box_set_spacing(). The
* arrangement and layout of the buttons can be changed with
* gtk_button_box_set_layout().
+ *
+ * GtkHButtonBox has been deprecated, use #GtkButtonBox instead.
*/
* Creates a new horizontal button box.
*
* Returns: a new button box #GtkWidget.
+ *
+ * Deprecated: 3.2: Use gtk_button_box_new() with %GTK_ORIENTATION_HORIZONTAL instead
*/
GtkWidget *
gtk_hbutton_box_new (void)
#ifndef __GTK_HBUTTON_BOX_H__
#define __GTK_HBUTTON_BOX_H__
+#ifndef GTK_DISABLE_DEPRECATED
#include <gtk/gtkbbox.h>
G_END_DECLS
+#endif
+
#endif /* __GTK_HBUTTON_BOX_H__ */
*/
#include "config.h"
+#undef GTK_DISABLE_DEPRECATED
#include "gtkvbbox.h"
#include "gtkorientable.h"
#include "gtkintl.h"
* The spacing between buttons can be set with gtk_box_set_spacing(). The
* arrangement and layout of the buttons can be changed with
* gtk_button_box_set_layout().
+ *
+ * GtkVButtonBox has been deprecated, use #GtkButtonBox instead.
*/
G_DEFINE_TYPE (GtkVButtonBox, gtk_vbutton_box, GTK_TYPE_BUTTON_BOX)
* Creates a new vertical button box.
*
* Returns: a new button box #GtkWidget.
+ *
+ * Deprecated: 3.2: Use gtk_button_box_new() with %GTK_ORIENTATION_VERTICAL instead
*/
GtkWidget *
gtk_vbutton_box_new (void)
#ifndef __GTK_VBBOX_H__
#define __GTK_VBBOX_H__
+#ifndef GTK_DISABLE_DEPRECATED
#include <gtk/gtkbbox.h>
G_END_DECLS
+#endif
+
#endif /* __GTK_VBBOX_H__ */